//
// MessageTile.cs
//
// Copyright (C) 2008 Lukas Lipka <lukaslipka@gmail.com>
//

using System;

using Dashboard;
using Dashboard.Util;

namespace Dashboard.Mint.Tiles
{
	[Tile (Type = "db:message")]
	public class MessageTile : Tile
	{
		public MessageTile (Match match) : base (match)
		{
			Title = match.Properties.GetPropertyValue ("dc:title");
		}

		public override Gdk.Pixbuf GetIcon (int size)
		{
			return Util.LoadStockIcon ("stock_mail", size);
		}
	}
}